﻿<%@ Page Title="简历管理" Language="C#" MasterPageFile="~/Master.master" AutoEventWireup="true"
    CodeFile="Resumecfg.aspx.cs" Inherits="Resumecfg" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="head">
</asp:Content>
<asp:Content ID="MainContent" runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
    <script type="text/javascript">
        function con(obj) {
            if (confirm("确定要清除简历么？")) {
                return true;
            }
            else {
                return false;
            }
        }
    </script>
    <div style="text-align: left; width: 100%">
        <table>
            <tr>
                <td>
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                </td>
                <td>
                    <asp:LinkButton ID="LinkButton1" runat="server" OnClick="lbtn1_Click" CssClass="btn btn-success">搜索</asp:LinkButton>
                </td>
            </tr>
        </table>
    </div>
    <div>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false" AllowPaging="true"
            CssClass="table table-hover table-bordered" OnPageIndexChanging="GridView1_PageIndexChanging">
            <EmptyDataTemplate>
                无简历信息</EmptyDataTemplate>
            <Columns>
                <asp:TemplateField HeaderText="学号">
                    <ItemTemplate>
                        <%#Eval("sno") %>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="姓名">
                    <ItemTemplate>
                        <%#Eval("sname") %>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="操作">
                    <ItemTemplate>
                        <a href='<%#"ResShow.aspx?sno="+Eval("sno").ToString() %>'>详情</a>
                        <asp:LinkButton ID="LinkButton3" CommandArgument='<%#Eval("sno") %>' OnClientClick="return con();"
                            OnClick="lbtn3_Click" runat="server">清空信息</asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
    </div>
</asp:Content>
